<template>
  <view class="page">
    <Header> </Header>
    <view class="main_container">
      <view class="main_content">
        <Breadcrumb :text="'主页-写作突破'"> </Breadcrumb>
        <view class="content">
          <view class="item" @click="jump('1')">
            <view class="item_text"> 小学万能作文 </view>
          </view>
          <view class="item" @click="jump('2')">
            <view class="item_text"> 初中万能作文 </view>
          </view>
          <view class="item" @click="jump('3')">
            <view class="item_text"> 高中万能作文 </view>
          </view>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
import { setStore } from "@/libs/storage";
export default {
  components: {},
  data() {
    return {
      routeList: [
        {
          name: "主页",
          url: "",
        },
        {
          name: "写作突破",
          url: "",
        },
      ],
    };
  },
  onLoad() {},
  methods: {
    jump(period) {
      setStore({
        name: "composition_period",
        content: period,
        type: "session",
      });
      uni.navigateTo({
        url: "/pages/composition/compositionStrategy",
      });
    },
  },
};
</script>
<style scoped lang="scss">
@import "./composition";
</style>
